package edu.ncu.service;

import edu.ncu.entity.FriendAsk;
import edu.ncu.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface FriendAskService {
    List<User> findByUserId(int receiverId);
    void update(int result, int receiverId, int senderId);
    void saveFriendAsk(FriendAsk friendAsk);
    List<FriendAsk> findFriendAsk(int userId) ; // 包括请求发送者和请求接收者
}
